desg segment mes1"che operazione vuoi eseguire?"$ mes2"1=somma",0ah,0dh,"2=sottrazione",0ah,0dh,"3=moltiplicaione",0ah,0dh,"4=divisione","$" dseg ends assume ds:desg;cs:cesg start: mov ax, dseg mov ds, ax lea dx,mes1 mov ah,09h int 21h lea dx,mes2 mov ah,09h int 21h mov ah,01h int 21h cmp ah,1 je somma cmp ah,2 je sottrazione cmp ah,3 je moltiplicazione cmp ah,4 je divisione somma: mov ah,01h int 21H sottrazione: cseg ends end start